package light.head.dao.site;

import java.io.Serializable;
import java.util.List;

import light.head.framework.base.BaseDAO;
import light.head.model.CommodityImg;

import org.springframework.stereotype.Service;
@Service
public class CommodityImgDAO extends BaseDAO<CommodityImg, Serializable>{
	private static final String sql_queryCommodityImg = "FROM CommodityImg ci WHERE ci.cc = ?";

	public List<CommodityImg> getByCode(Integer code) {
		return super.find(sql_queryCommodityImg, code);
	}
}
